package edu.gdcc.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Project Name:springmvc-demo <br/>
 * Package Name:edu.gdcc.demo.controller <br/>
 * Date:2018/6/21 11:29 <br/>
 * <b>Description:</b> TODO: 描述该类的作用 <br/>
 *
 * @author <a href="mailto:xiezy@eastcom-sw.com">Izzy.X</a><br/>
 * Copyright Notice =========================================================
 * This file contains proprietary information of Eastcom Technologies Co. Ltd.
 * Copying or reproduction without prior written approval is prohibited.
 * Copyright (c) 2018 =======================================================
 */
@RestController
public class RestfulController {
    @GetMapping("/name")
    public String test(){
        return "name";
    }
    @GetMapping("/send")
    public void test2(){
        System.out.println("打印一句话");
    }
}
